package org.bootstrap.service;

import cn.hutool.json.JSONObject;
import org.bootstrap.entity.UserInfo;

import java.util.ArrayList;
import java.util.HashMap;

public abstract class UserService {
    public abstract int user_sign(HashMap<String, Object> user);

    public abstract JSONObject user_login(HashMap<String, String> params);

    public abstract ArrayList<HashMap<String, Object>> user_search(HashMap<String, String> params);

    public abstract JSONObject info_modify(HashMap<String, String> params);

    public abstract JSONObject admin(HashMap<String, String> params);

    public abstract ArrayList<UserInfo> allUsr();

    public abstract ArrayList<UserInfo> get_all_users(HashMap<String, String> params);
}
